Skip to content

Update library, schemas, and documentation site for DFIQ 1.1.0 - #34

Merged
tomchop merged 3 commits into
google:mainfrom
tomchop:dfiq-1.1-site
Nov 17, 2026
Merged

tomchop merged 3 commits into
google:mainfrom
tomchop:dfiq-1.1-site

Conversation

@tomchop

@tomchop tomchop commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Updates the DFIQ Python library, Yamale validation schemas, Jinja2 templates, and documentation website to reflect the DFIQ 1.1.0 specification.

Key Changes

  • Yamale Schemas & CI (.github/workflows/yamale.yml):
    • Updated scenario_spec.yaml, facet_spec.yaml, and question_spec.yaml for DFIQ 1.1 (id and internal optional, inline approaches/steps/notes on Questions, optional Facet parents allowing S\d{4} or UUIDs in parent_ids).
    • Removed obsolete approach_spec.yaml and updated .github/workflows/yamale.yml paths.
  • Python Library (dfiq/dfiq.py):
    • Updated Component, Approach, Question, Facet, Scenario, and DFIQ classes for DFIQ 1.1 (name instead of display_name, inline approaches on Question, optional id, uuid-to-key graph resolution, and unified steps with stage).
  • Templates & Website Docs (dfiq/templates/, site/):
    • Updated Jinja2 templates and regenerated all Scenario, Question, and Approach Glossary markdown pages in site/docs/.
    • Updated site/docs/contributing/specification.md to version 1.1.0 and preserved the historical 1.0.1 specification at site/docs/contributing/specification_1_0_1.md.
    • Updated site/mkdocs.yml navigation and version tag (1.1.0), README.md, and pyproject.toml.
    • Fixed centered title rendering on site/docs/index.md.

@tomchop
tomchop requested a review from berggren November 15, 2026 16:22
- Fix multi-paragraph Markdown folding (`>-` -> `|-`) across Question approaches and repair numbered lists in Q1001
- Add optional `internal` boolean to Approach schema/spec and exclude internal approaches and tags from public counts, pages, and indexes when `allow_internal=False`
- Guard optional subdirectories (e.g. missing `facets/`) and non-YAML files in `load_yaml_files_by_type`
- Indent multi-line query steps properly in `question_with_approaches.jinja2`, separate UUID/ID lines, and sort tags in `questions_index.jinja2`
- Sync `Questions` and `Scenarios` navigation in `site/mkdocs.yml` during site generation
- Update GitHub issue templates for DFIQ 1.1.0 (`name`, `1.1.0`, UUID/Scenario parent support)
- Add unit test suite (`tests/test_dfiq.py`) and run it in CI

@berggren berggren left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tomchop
tomchop merged commit 22f50cb into google:main Nov 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants